#ifndef __TASK_FACTORY_HPP__
#define __TASK_FACTORY_HPP__
#include <boost/noncopyable.hpp>
class thread_task;
class task_factory : public boost::noncopyable
{
private:
    /* data */
public:
    task_factory(/* args */);
    ~task_factory();
    static task_factory* getInstance(); // 获取工厂单例对象
    thread_task* create_task();
};
#endif